package org.xiangxji.snippets.analysis.timer;

import java.util.Date;
import java.util.Timer;

import org.xiangxji.snippets.data.ImportTask;

public class AnalysisMain {
	
	@SuppressWarnings("deprecation")
	public static void main(String[] args) {
		Timer t = new Timer();
		Date td = new Date(System.currentTimeMillis());
		Date date2 = new Date(td.getYear(), td.getMonth(), td.getDate(), 11, 19, 0);
////		Date date3 = new Date(td.getYear(), td.getMonth(), td.getDate()+1, 17, 15, 0);
//		
////		t.schedule(new ImportTask(28,7), date1);
		t.schedule(new ImportTask(29,8), date2);

//		t.schedule(new AnalysisTask(), date3);
	}

}
